
import abs from './absrightmenuitemaction.js'

class MakeAsTitleAction extends abs.IRightMenuItemAction {
  constructor(map,subItem) {
    super(map);
    this.subItem = subItem;
  }

  act2Click(evt) {
    console.log("MakeAsTitleAction:"+evt);
    this.mapctrl.m_pEditINTF.setSymbolUnitMark(this.subItem);
  }
}

export default { MakeAsTitleAction }